﻿@model IList<FCDB.Entity.UserBusinessPermissions>
           @foreach(var item in Model)
           {  
             <tr>
                 <td>@item.ID</td>
            <td>@item.DEPTCode</td>
        <td>@item.DeptName</td>
            <td><a onclick="del('@item.ID')" href="javascript:void(0)">删除</a> </td>
        </tr>
           }
<script type="text/javascript">
    function del(id)
    {
        $.dialog.confirm('你确定要删除吗？', function () {
            var urlub = '@Url.Action("DeletePermissionsSettings", "BusinessReport")' + '?id=' + id;
            $.post(urlub, { id: id }, function (data) {
                onRefreshUserBusinessPermissions();
            });
        });
    }

</script>

   